package main

import (
	"github.com/roseduan/rosedb"
	"log"
)

func main() {
	config := rosedb.DefaultConfig()
	db, err := rosedb.Open(config)

	if err != nil {
		log.Fatal(err)
	}

	// don`t forget to close!
	defer db.Close()

	//...
}
